Optimal. Leaf size=560 \[ \frac {2 c \sqrt {a+b x^3}}{3 b}+\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}-\frac {8 a e \sqrt {a+b x^3}}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {4 \sqrt {2+\sqrt {3}} a \left (7 \sqrt [3]{b} d-10 \left (1-\sqrt {3}\right ) \sqrt [3]{a} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{35 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.49, antiderivative size = 560, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {1902, 1608,
1900, 267, 1892, 224, 1891} \begin {gather*} -\frac {4 \sqrt {2+\sqrt {3}} a \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (7 \sqrt [3]{b} d-10 \left (1-\sqrt {3}\right ) \sqrt [3]{a} e\right ) F\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{35 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {8 a e \sqrt {a+b x^3}}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 c \sqrt {a+b x^3}}{3 b}+\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 224
Rule 267
Rule 1608
Rule 1891
Rule 1892
Rule 1900
Rule 1902
Rubi steps
\begin {align*} \int \frac {x^2 \left (c+d x+e x^2\right )}{\sqrt {a+b x^3}} \, dx &=\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}+\frac {2 \int \frac {-2 a e x+\frac {7}{2} b c x^2+\frac {7}{2} b d x^3}{\sqrt {a+b x^3}} \, dx}{7 b}\\ &=\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}+\frac {2 \int \frac {x \left (-2 a e+\frac {7 b c x}{2}+\frac {7}{2} b d x^2\right )}{\sqrt {a+b x^3}} \, dx}{7 b}\\ &=\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}+\frac {4 \int \frac {-\frac {7}{2} a b d-5 a b e x+\frac {35}{4} b^2 c x^2}{\sqrt {a+b x^3}} \, dx}{35 b^2}\\ &=\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}+\frac {4 \int \frac {-\frac {7}{2} a b d-5 a b e x}{\sqrt {a+b x^3}} \, dx}{35 b^2}+c \int \frac {x^2}{\sqrt {a+b x^3}} \, dx\\ &=\frac {2 c \sqrt {a+b x^3}}{3 b}+\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}-\frac {(4 a e) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{7 b^{4/3}}-\frac {\left (2 a \left (7 \sqrt [3]{b} d-10 \left (1-\sqrt {3}\right ) \sqrt [3]{a} e\right )\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{35 b^{4/3}}\\ &=\frac {2 c \sqrt {a+b x^3}}{3 b}+\frac {2 d x \sqrt {a+b x^3}}{5 b}+\frac {2 e x^2 \sqrt {a+b x^3}}{7 b}-\frac {8 a e \sqrt {a+b x^3}}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {4 \sqrt {2+\sqrt {3}} a \left (7 \sqrt [3]{b} d-10 \left (1-\sqrt {3}\right ) \sqrt [3]{a} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{35 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.07, size = 121, normalized size = 0.22 \begin {gather*} \frac {2 \left (a+b x^3\right ) (35 c+3 x (7 d+5 e x))-42 a d x \sqrt {1+\frac {b x^3}{a}} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};-\frac {b x^3}{a}\right )-30 a e x^2 \sqrt {1+\frac {b x^3}{a}} \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};-\frac {b x^3}{a}\right )}{105 b \sqrt {a+b x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 773, normalized size = 1.38 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.08, size = 74, normalized size = 0.13 \begin {gather*} -\frac {2 \, {\left (42 \, a \sqrt {b} d {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 60 \, a \sqrt {b} e {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - {\left (15 \, b e x^{2} + 21 \, b d x + 35 \, b c\right )} \sqrt {b x^{3} + a}\right )}}{105 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.80, size = 107, normalized size = 0.19 \begin {gather*} c \left (\begin {cases} \frac {x^{3}}{3 \sqrt {a}} & \text {for}\: b = 0 \\\frac {2 \sqrt {a + b x^{3}}}{3 b} & \text {otherwise} \end {cases}\right ) + \frac {d x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} \Gamma \left (\frac {7}{3}\right )} + \frac {e x^{5} \Gamma \left (\frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {5}{3} \\ \frac {8}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} \Gamma \left (\frac {8}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^2\,\left (e\,x^2+d\,x+c\right )}{\sqrt {b\,x^3+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________